<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<script language="JavaScript">
	function onImage(){
		document.getElementById("random").src="ImageServlet?time="+new Date();
	}
</script>
<body>
	<form name="formname" action="login.action" method="post"
			<table border="0">
				<tr>
					<td > 用户名：</td>
					<td align="left"><input type="text" name="username"  ></td>
				</tr>
				<tr>
					<td class="top" align="right">密&nbsp;&nbsp;&nbsp;码：</td>
					<td align="left"><input type="password" name="password" title="请正确填写密码4~12:!"></td>
				</tr>
				<tr>
				    <td class="top" align="right">&nbsp;&nbsp;&nbsp;&nbsp;</td>
	<td align="left"><img id="random" border=1 src="ImageServlet" onclick="onImage()"></td>
				</tr>
				<tr>
					<td class="top" align="right" >验证码：</td>
	<td align="left"><input type="text" name="rand" maxlength="4" title="请正确填写验证码!"></td>
				</tr>
				<tr>
					<td colspan="2" align="center">
						<input class="buttoms" type="submit" value="提交" >
						<input class="buttoms" type="reset" value="重置" >
					</td>
				</tr>
			 </table>
		   </form>
</body>
</html>